package com.qys.livesMall.app.user.model.dto.app;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

/**
 * Created by IntelliJ IDEA.
 * User: dp
 * Date: 2023/04/24
 * Time: 17:32
 * DESCRIPTION: app用户地址保存
 */
@Data
public class AppUserAddressDTO implements Serializable {

    @Schema(description = "id")
    private String id;

    @Schema(description = "国家")
    private Long country;

    @Schema(description = "国家名称")
    private String countryName;

    @Schema(description = "收货人姓名")
    private String receiveUserName;

    @Schema(description = "邮编")
    private String postalCode;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "收货人地址")
    private String address;

    @Schema(description = "是否默认地址")
    private Boolean defaultAddress;

    @Schema(description = "联系电话")
    private String mobile;

    @Schema(description = "城市")
    private String city;

    @Schema(description = "地标")
    private String landmark;

    @Schema(description = "用户id  后端必传")
    private String userId;
}
